package com.ruoyi.patients.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 药品冲突对象 conflict
 * 
 * @author ruoyi
 * @date 2025-04-12
 */
public class Conflict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 患者id */
    @Excel(name = "患者id")
    private Long patientsId;

    /** 药品id */
    @Excel(name = "药品id")
    private Long medicationId;

    /** 基本症状 */
    @Excel(name = "基本症状")
    private String symptom;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPatientsId(Long patientsId) 
    {
        this.patientsId = patientsId;
    }

    public Long getPatientsId() 
    {
        return patientsId;
    }
    public void setMedicationId(Long medicationId) 
    {
        this.medicationId = medicationId;
    }

    public Long getMedicationId() 
    {
        return medicationId;
    }
    public void setSymptom(String symptom) 
    {
        this.symptom = symptom;
    }

    public String getSymptom() 
    {
        return symptom;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("patientsId", getPatientsId())
            .append("medicationId", getMedicationId())
            .append("symptom", getSymptom())
            .append("createTime", getCreateTime())
            .toString();
    }
}
